package com.itheima.varible;

import javax.sound.midi.Soundbank;

public class ASCLLDemo1
{
    //目标：整我ASCII码表的编码特点
    public static void main(String[] args)
    {
        System.out.println('a'+10);//97+10=107

        System.out.println('A'+10);//65+10=75
        //ASCII码表：0~127
        for (int i = 0; i < 128; i++)
        {
            System.out.println((char)i);
        }
        System.out.println("******");

        //二进制、八进制、十六进制在程序中的应用
        int a1 = 0b10;//二进制要以0B或0b开头
        System.out.println(a1);

        int a2 = 010;//八进制要以0开头
        System.out.println(a2);

        int a3 = 0xFA;//十六进制要以0X或0x开头
        System.out.println(a3);
    }




    

}
